package com.cc.crm.service.impl;

import com.cc.crm.entity.SysRight;
import com.cc.crm.mapper.SysRightMapper;
import com.cc.crm.service.IRightService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RightService implements IRightService {
    @Autowired
    private SysRightMapper sysRightMapper;
    @Override
    public List<SysRight> list() {
        return sysRightMapper.selectByExample(null);
    }

}
